<div class="panel panel-default mt20">
  <div class="panel-body">
    <div class="col-sm-12">
      <div class="row">
        <div class="col-sm-2">
          <input type="text" placeholder="导游名称" class="form-control" ng-model="searchform.guide_name" ng-keyup="myKeyup($event)">
        </div>
        <div class="col-sm-2">
          <input type="text" placeholder="导游电话" class="form-control" ng-model="searchform.guide_tel" ng-keyup="myKeyup($event)">
        </div>
        <div class="col-sm-2">
          <input type="text" placeholder="导游身份证号码" class="form-control" ng-model="searchform.guide_idcard" ng-keyup="myKeyup($event)">
        </div>
        <div class="col-sm-1">
          <button class="btn btn-block btn-info" ng-click="load()">检索</button>
        </div>
        <div class="col-sm-2 pull-right">
          <button class="btn btn-block btn-success" ng-click="add()">添加导游</button>
        </div>
      </div>
    </div>
  </div>
</div>

<div class="panel panel-default mt20">
  <div class="panel-body">
    <table class="table table-condensed table-hover table-bordered">
      <thead>
        <tr>
          <th class="col-md-2 text-center">编号</th>
          <th class="col-md-2 text-center">导游名称</th>
          <th class="col-md-2 text-center">导游电话号码</th>
          <th class="col-md-2 text-center">导游身份证号码</th>
          <th class="col-md-4 text-center">操作</th>
        </tr>
      </thead>
      <tbody>
        <tr ng-repeat="obj in objs">
          <td class="text-center">{{obj.guide_code}}</td>
          <td class="text-center">{{obj.guide_name}}</td>
          <td class="text-center">{{obj.guide_tel}}</td>
          <td class="text-center">{{obj.guide_idcard}}</td>
          <td class="text-center">
            <a class="btn btn-info btn-xs" ng-click="update(obj.guide_code)">编辑</a>
            <a class="btn btn-info btn-xs" ng-click="repswd(obj.guide_code)">重置密码</a>
            <a class="btn btn-danger btn-xs" ng-click="del(obj.guide_code)">删除</a>
          </td>
        </tr>
      </tbody>
    </table>
    <div class="text-right">
      <pagination total-items="bigTotalItems" ng-model="bigCurrentPage" ng-change="load(1)" previous-text="上一页" next-text="下一页"
        first-text="首页" last-text="尾页" max-size="maxSize" boundary-links="true" rotate="false" items-per-page="itemsPerPage"
        class="m-t-none m-b">
      </pagination>
    </div>

  </div>
</div>